package com.qqpz.sign_project.mappers;

import com.qqpz.sign_project.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {
    public Admin verifyAdmin(Admin admin);
    public List<Admin> queryAllAdmin();
    public List<String> queryAllUsername();
    public int createAdmin(Admin admin);
    public int updateAdmin(Admin admin);
    public int updateAdminName(Admin admin);
    public int deleteAdmin(String username);
}
